package com.quanyan.comment.serviceFacade.impl;

import com.quanyan.comment.service.SensitiveService;
import com.quanyan.common.sensitive.SensitiveServiceFacade;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/4/13.
 */
@Service("sensitiveServiceFacade")
public class SensitiveServiceFacadeImpl implements SensitiveServiceFacade {

    @Autowired
    private SensitiveService sensitiveService;

    @Override
    public String filter(String str, String replacement) {
        return sensitiveService.filter(str,replacement);
    }

    @Override
    public boolean isExistsKey(String str) {
        return sensitiveService.isExistsKey(str);
    }
}
